package com.view.cn.mvprxjava.utils;

import android.util.Log;

/**
 * 日志工具类
 * Created by zxp19920626 on 2016/9/26.
 */
public class LogUtils {

    private static boolean debug = true;

    public static void e(String mes, String str) {
        if (debug) {
            Log.e("zxp19920626    " + mes + "：", str);
        }
    }

    public static void i(String mes, String str) {
        if (debug) {
            Log.i("zxp19920626    " + mes + "：", str);
        }
    }

    public static void d(String mes, String str) {
        if (debug) {
            Log.d("zxp19920626    " + mes + "：", str);
        }
    }

    public static void v(String mes, String str) {
        if (debug) {
            Log.v("zxp19920626    " + mes + "：", str);
        }
    }
}
